package core.vols;

import java.util.Hashtable;

import core.Marchandise;

public class VolFret {
	
	public Hashtable<Integer, Marchandise> marchandises;

	public VolFret() {
		super();
		marchandises = new Hashtable<Integer, Marchandise>();
	}
	
	public void addMarchandise(Marchandise m) {
		marchandises.put(m.getCode(), m);
	}
	
	public void removeMarchandise(Marchandise m) {
		marchandises.remove(m);
	}

}
